package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class ReferenceGeneration {

    private int beginIndex;
    private int endIndex;
    private boolean systemGenerated;
    private boolean userGenerated;
    private boolean derived;

    public ReferenceGeneration(int beginIndex,
                               int endIndex,
                               boolean systemGenerated,
                               boolean userGenerated,
                               boolean derived) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.systemGenerated = systemGenerated;
        this.userGenerated = userGenerated;
        this.derived = derived;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isSystemGenerated() {
        return systemGenerated;
    }

    public boolean isUserGenerated() {
        return userGenerated;
    }

    public boolean isDerived() {
        return derived;
    }

}
